Skip to content

Two players: a second copy of the same game - #40

Merged
narkotrxll merged 1 commit into
mainfrom
feature/second-copy
Oct 16, 2026
Merged

narkotrxll merged 1 commit into
mainfrom
feature/second-copy

Conversation

@narkotrxll

@narkotrxll narkotrxll commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Before: with Two players on, pressing Play on a profile whose game the other player was already playing failed with "this game is already isolated for the other player".

After: Play starts a second copy of the game and isolates it for the other player. The copy gets the profile's controller and screen unless the first player already has them; then a free connected controller and a free secondary screen. If no second copy appears (the game allows only one), the error says so. Settings shows a hint under Two players.

How: the automation service skips windows of games another seat already holds, launches the executable again when the same game is running in the other seat, and adjusts the controller slot and display for that copy (listControllers, listDisplays). No change to the native code.

@narkotrxll
narkotrxll merged commit fb7f68e into main Oct 16, 2026
3 checks passed
@narkotrxll
narkotrxll deleted the feature/second-copy branch October 16, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant